var timeoutID;

// 提交登陆信息
function loginsubmit() {
	
	var userName = document.getElementById("loginName").value;
	var password = document.getElementById("password").value;
	if (userName == "") {
		document.getElementById("t-error").innerHTML="Missing user name!";
		return false;
	}
	if (password == "") {
		document.getElementById("t-error").innerHTML="Missing password!";
		return false;
	}
	//document.getElementById('myform').submit();
	$("#myform").submit();
}
